﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace WebFormsBinder
{
    public interface IJavascriptGenerator<TEntity>
    {
        JSValidationRule<TEntity> Generate(ValidationLibrary.ValidationRule<TEntity> rule);
        IEnumerable<JSValidationRule<TEntity>> GenerateRules();
    }
}
